/**
 * Created by Administrator on 2019/5/28.
 */
/**
 * md5加密
 * @param array
 * @returns {*}
 */
function getMd5PwdByArray(array){
    for(var i=0;i<array.length;i++){
        if(array[i]['name'] == 'password'){
            array[i]['value'] = md5(array[i]['value'])
        }
    }
}
function getMd5PayPwdByArray(array){
    for(var i=0;i<array.length;i++){
        if(array[i]['name'] == 'payPwd'){
            array[i]['value'] = md5(array[i]['value'])
        }
    }
}
function getMd5PwdByString(pwd){
    return md5(pwd)
}